<template>
  <div class="box">
<!--    吸顶-->
    <van-sticky :offset-top="30">
<!--      消息通知-->
      <van-notice-bar
          left-icon="volume-o"
          scrollable
          mode="closeable"
          text="新消息：亿达商城新品上市，琳琅满目，物美价廉，更有超值活动等您参与哦！！！"
      />
    </van-sticky>
  </div>
</template>

<script>


export default {
  name: "Notification",
}
</script>

<style lang="less" scoped>
  .box{
    position: absolute;
    //top: 470px;
    //top: 250px;
    z-index: 300;
    width: 100%;
  }
  /deep/.van-notice-bar{
    height: 25px;
    //background-color: rgba(255,251,232,0.5)

  }
</style>